package cn.ad.server.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;

/**
 * @author dongbin.yu
 * @from 2016-05-30
 * @since V1.0
 */
public class IPDetail {

	private long startIp;
	private long endIp;
	private int countryId;
	private int stateId;
	private int cityId;
	private int districtId;
	private int universityId;
	private int ipType;
	private String description;

	public long getStartIp() {
		return startIp;
	}

	public void setStartIp(long startIp) {
		this.startIp = startIp;
	}

	public long getEndIp() {
		return endIp;
	}

	public void setEndIp(long endIp) {
		this.endIp = endIp;
	}

	public int getCountryId() {
		return countryId;
	}

	public void setCountryId(int countryId) {
		this.countryId = countryId;
	}

	public int getStateId() {
		return stateId;
	}

	public void setStateId(int stateId) {
		this.stateId = stateId;
	}

	public int getCityId() {
		return cityId;
	}

	public void setCityId(int cityId) {
		this.cityId = cityId;
	}

	public int getDistrictId() {
		return districtId;
	}

	public void setDistrictId(int districtId) {
		this.districtId = districtId;
	}

	public int getUniversityId() {
		return universityId;
	}

	public void setUniversityId(int universityId) {
		this.universityId = universityId;
	}

	public int getIpType() {
		return ipType;
	}

	public void setIpType(int ipType) {
		this.ipType = ipType;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}

}
